//
//  circleMemberModel.swift
//  OnceNectar
//
//  Created by Zhang Dream on 2018/6/24.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import Foundation
import MappingAce

struct circleMemberListModel:Mapping {
    var beConcerned :String?
    var headIcon :String?
    var isConcerned :String?
    var matchDegree :String?
    var nickname :String?
    var sexy :String?
    var id :String?
    var concernType :String?
    var grade :circleGradeModel?
    
}

struct circleGradeModel:Mapping {
    var authority :String?
    var authorityName :String?
    var gradeCode :String?
    var gradeName :String?
    var id :String?
    var neededScore :String?
}

extension circleMemberListModel{
    
    mutating func initGrade(dic:[String:Any]) {
        grade = circleGradeModel(fromDic: dic)
    }
}
